<!DOCTYPE>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="./css/bootstrap.min.css" type="text/css" rel="stylesheet" />
<link href="./css/admin.css" type="text/css" rel="stylesheet" />
<title>后台登录界面</title>
</head>
<body class="body_login">
	<div class="admin_login">
		<div class="admin_login_header">
			<img src="./images/admin_logo.png" alt="logo" />
		</div>
		<div class="admin_login_form">
			<?php $form=$this->beginWidget('CActiveForm', array(
				'id'=>'login-form',
				'htmlOptions'=>array('class'=>'form-horizontal settingform'),
				'enableClientValidation'=>true,
				'clientOptions'=>array(
					'validateOnSubmit'=>true,
				),
			)); ?>
				<fieldset>
					<div class="control-group">
						<?php echo $form->labelEx($model,'username',array('class'=>'control-label')); ?>
						<div class="controls">
							<?php echo $form->textField($model,'username',array('class'=>'input-xlarge','style'=>'height: 30px;width:200px;')); ?>
							<?php echo $form->error($model,'username',array('class'=>'help-inline')); ?>
						</div>
					</div>
					<div class="control-group">
						<?php echo $form->labelEx($model,'password',array('class'=>'control-label')); ?>
						<div class="controls">
							<?php echo $form->passwordField($model,'password',array('class'=>'input-xlarge','style'=>'height: 30px;width:200px;')); ?>
							<?php echo $form->error($model,'password',array('class'=>'help-inline')); ?>
						</div>
					</div>
					<div class="form-actions">
						<?php echo CHtml::submitButton('登陆',array('class'=>'btn btn-info')); ?>
					</div>
				</fieldset>
			<?php $this->endWidget(); ?>
		</div>
	</div>
</body>
</html>
